public class Test {

    public static void main(String[] args) {
        heapSort heapSort = new heapSort();
        int[] arr = {10,9,8,7,6,5,4,3,2,1};
        heapSort.headSort(arr);
        System.out.println(arr);
    }
}
